//
//  KLHistoricalRateCurrencyView.h
//  KLCurrency
//
//  Created by apple on 2018/1/5.
//  Copyright © 2018年 bonc. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol KLHistoricalRateCurrencyViewDelegate <NSObject>

@optional
//交换两个货币
- (void)exchangeCurrencies;

@end

@interface KLHistoricalRateCurrencyView : UIView

@property (nonatomic, copy) NSString *exchangeCurrency;

@property (nonatomic, copy) NSString *localCurrency;

@property (weak, nonatomic) id<KLHistoricalRateCurrencyViewDelegate> delegate;

+ (instancetype)historicalRateCurrencyView;

- (instancetype)initWithFrame:(CGRect)frame withLocalCurrency:(NSString *)localAbb withExchangeCurrency:(NSString *)exchangeAbb;

@end
